package com.carleasoft.mps.core.user;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @program:
 * @description:缓存用户信息，在请求线程中加入，避免数据库查询
 * @author: ztm
 * @create: 2019/11/21 10:05
 **/
@Data
public class UserCacheData implements Serializable  {
    private static final long serialVersionUID = 1L;

    private String token;
    private String userCode;
    private String userName;
    private String deptCode;
    private String deptName;
    private String organizationCode;
    private String organizationName;
    private String userAccount;
    private String userTypeCode;
    private int userCat;
    private String deptCodeJoin;
    private String orgCodeJoin;
    private List<UserPro> userPros;

}
